<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Module extends HYD_Controller {
    private $_search_field_arr  = array();
    
    public function __construct(){
        parent::__construct();
        //$this->load->model('module_model');
        $this->field_lists_init();
    }
    
    private function field_lists_init(){  
        //搜索中的“查询条件”选单                 
        $this->_search_field_arr = array('name'=> '商品名称',
                                         'description'=> '商品描述',
                                         'price'=> '商品价格');
    }
    
    /**
     * 取系统模块的树
     * @return type
     */
    public function get_module_tree() {
        $this->load->library('module_tree', array('show_global_root' => FALSE));
        $res = $this->module_tree->build_ext_json_tree();   
        return $res;  
    }
    
}

/* End of file admin.php */
/* Location: ./application/controllers/admin.php */